package com.ufun.financegateway.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author BlendLiu
 * @date 2021/4/21 14:59
 */
@Data
public class CmbBankNetPayDataDto {

    @ApiModelProperty(value = "请求时间")
    @NotBlank(message = "请求时间不能为空")
    private String dateTime;

    @ApiModelProperty(value = "交易码")
    @NotBlank(message = "交易码不能为空")
    private String txCode;

    @ApiModelProperty(value = "商户分行号")
    @NotBlank(message = "商户分行号不能为空")
    private String branchNo;

    @ApiModelProperty(value = "商户号")
    @NotBlank(message = "商户号不能为空")
    private String merchantNo;

    @ApiModelProperty(value = "商户交易请求流水号")
    @NotBlank(message = "商户交易请求流水号不能为空")
    private String merchantSerialNo;

    @ApiModelProperty(value = "客户签约的协议号")
    @NotBlank(message = "客户签约的协议号不能为空")
    private String agrNo;

    @ApiModelProperty(value = "币种")
    @NotBlank(message = "币种不能为空")
    private String currency;

    @ApiModelProperty(value = "订单金额")
    @NotBlank(message = "订单金额不能为空")
    private String amount;

    @ApiModelProperty(value = "交易摘要")
    @NotBlank(message = "交易摘要不能为空")
    private String trnAbs;

    @ApiModelProperty(value = "结果异步通知URL")
    @NotBlank(message = "结果异步通知URL不能为空")
    private String noticeUrl;
}
